package com.jic.member.mapper;


import com.jic.member.entity.MemberRoster;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemMemberRosterMapper {

    long insert(MemberRoster memberRoster);

    long delete(Long id);

    long update(MemberRoster memberRoster);

    MemberRoster queryByPrimaryKey(Long id);

    List<MemberRoster> query(MemberRoster memberRoster);

    List<MemberRoster> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit,@Param("memberRoster") MemberRoster memberRoster);

    long queryPageCount(MemberRoster memberRoster);

}
